package org.example.service;

import org.example.pojo.Elderly;
import org.example.pojo.UpdatePassword;
import org.example.utils.R;

import java.util.List;

/**
 * @Description: 用户控制服务层
 * @Author:曹震
 * @Date: 2024/11/29 19:12
 */

public interface UserControlService {
    R registerElderly(Elderly elderly);
    R setPassword(UpdatePassword updatePassword);
    R findAll(int currentPage,int pageSize);



    R logining(String communityId, String passWord);

    R selectAll(int currentPage, int pageSize,String volunteerName);

    R selectAll(String volunteersId);

    int  refuseById(String volunteersId,String objection);

    int  passVolunteerById(String volunteersId);

    R findByIdCard(String query);

    R findByName(String query);

    R selectElderlyAll();

    R searchPerson(String userId);

    R registerElderlys(List<Elderly> elderly);
}
